package com.iflyun.LogsCustmerToHDFS.entity;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 
 * @ClassName:  AppLog   
 * @Description:App日志实体类   
 * @author: wenquxing  
 * @date:   2017年8月25日 上午10:59:30   
 *
 */
public class AppLog implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * id
	 */
	private String id;
	
	/**
	 * 用户id
	 */
	private String userId;
	
	/**
	 * ip
	 */
	private String ip;
	
	/**
	 * 代理ip
	 */
	private String proxyIp;
	
	/**
	 * APP访客唯一ID
	 */
	private String tokenId;
	
	/**
	 * 请求绝对url
	 */
	private String urlAbsoluteUri;
	
	/**
	 * 跳转url
	 */
	private String jumpUrl;
	
	/**
	 * 相对物理路径
	 */
	private String physicalPath;
	
	/**
	 * 请求方式
	 */
	private String requestMode;
	
	/**
	 * 请求参数
	 */
	private String requestParameter;
	
	/**
	 * 操作类型
	 */
	private String operationType;
	
	/**
	 * 经度坐标
	 */
	private float gpsX;
	
	/**
	 * 纬度坐标
	 */
	private float gpsY;

	/**
	 * 使用状态
	 */
	private String state;
	
	/**
	 *手机品牌 
	 */
	private String mobilePhoneBrand;
	
	/**
	 * 操作系统
	 */
	private String operationSystem;
	
	/**
	 * 访问时间
	 */
	private Timestamp accessTime;
	
	/**
	 * 产品版本
	 */
	private String productVersion;
	
	/**
	 * 产品代码
	 */
	private String productCode;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getProxyIp() {
		return proxyIp;
	}

	public void setProxyIp(String proxyIp) {
		this.proxyIp = proxyIp;
	}

	public String getTokenId() {
		return tokenId;
	}

	public void setTokenId(String tokenId) {
		this.tokenId = tokenId;
	}

	public String getUrlAbsoluteUri() {
		return urlAbsoluteUri;
	}

	public void setUrlAbsoluteUri(String urlAbsoluteUri) {
		this.urlAbsoluteUri = urlAbsoluteUri;
	}

	public String getJumpUrl() {
		return jumpUrl;
	}

	public void setJumpUrl(String jumpUrl) {
		this.jumpUrl = jumpUrl;
	}

	public String getPhysicalPath() {
		return physicalPath;
	}

	public void setPhysicalPath(String physicalPath) {
		this.physicalPath = physicalPath;
	}

	public String getRequestMode() {
		return requestMode;
	}

	public void setRequestMode(String requestMode) {
		this.requestMode = requestMode;
	}

	public String getRequestParameter() {
		return requestParameter;
	}

	public void setRequestParameter(String requestParameter) {
		this.requestParameter = requestParameter;
	}

	public String getOperationType() {
		return operationType;
	}

	public void setOperationType(String operationType) {
		this.operationType = operationType;
	}

	public float getGpsX() {
		return gpsX;
	}

	public void setGpsX(float gpsX) {
		this.gpsX = gpsX;
	}

	public float getGpsY() {
		return gpsY;
	}

	public void setGpsY(float gpsY) {
		this.gpsY = gpsY;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getMobilePhoneBrand() {
		return mobilePhoneBrand;
	}

	public void setMobilePhoneBrand(String mobilePhoneBrand) {
		this.mobilePhoneBrand = mobilePhoneBrand;
	}

	public String getOperationSystem() {
		return operationSystem;
	}

	public void setOperationSystem(String operationSystem) {
		this.operationSystem = operationSystem;
	}

	public Timestamp getAccessTime() {
		return accessTime;
	}

	public void setAccessTime(Timestamp accessTime) {
		this.accessTime = accessTime;
	}

	public String getProductVersion() {
		return productVersion;
	}

	public void setProductVersion(String productVersion) {
		this.productVersion = productVersion;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public AppLog() {
		super();
	}

	public AppLog(String id, String userId, String ip, String proxyIp, String tokenId, String urlAbsoluteUri,
			String jumpUrl, String physicalPath, String requestMode, String requestParameter, String operationType,
			float gpsX, float gpsY, String state, String mobilePhoneBrand, String operationSystem, Timestamp accessTime,
			String productVersion, String productCode) {
		super();
		this.id = id;
		this.userId = userId;
		this.ip = ip;
		this.proxyIp = proxyIp;
		this.tokenId = tokenId;
		this.urlAbsoluteUri = urlAbsoluteUri;
		this.jumpUrl = jumpUrl;
		this.physicalPath = physicalPath;
		this.requestMode = requestMode;
		this.requestParameter = requestParameter;
		this.operationType = operationType;
		this.gpsX = gpsX;
		this.gpsY = gpsY;
		this.state = state;
		this.mobilePhoneBrand = mobilePhoneBrand;
		this.operationSystem = operationSystem;
		this.accessTime = accessTime;
		this.productVersion = productVersion;
		this.productCode = productCode;
	}

	@Override
	public String toString() {
		return "AppLog [id=" + id + ", userId=" + userId + ", ip=" + ip + ", proxyIp=" + proxyIp + ", tokenId="
				+ tokenId + ", urlAbsoluteUri=" + urlAbsoluteUri + ", jumpUrl=" + jumpUrl + ", physicalPath="
				+ physicalPath + ", requestMode=" + requestMode + ", requestParameter=" + requestParameter
				+ ", operationType=" + operationType + ", gpsX=" + gpsX + ", gpsY=" + gpsY + ", state=" + state
				+ ", mobilePhoneBrand=" + mobilePhoneBrand + ", operationSystem=" + operationSystem + ", accessTime="
				+ accessTime + ", productVersion=" + productVersion + ", productCode=" + productCode + "]";
	}
	
	
	
	
	
	



}
